package com.homegoods.orderinfodetail.item;

import android.databinding.Bindable;

import com.homegoods.orderinfodetail.BR;
import com.homegoods.orderinfodetail.R;
import com.kedll.library.mvp.BaseItem;

/**
 * @author QiQi
 * @ClassName: ShopDetailHotGoodsItem
 * @date 2018/9/26
 * @description
 */
public class ShopDetailHotGoodsItem extends BaseItem<Object> {
    private String hotGoodsPicUrl;

    public ShopDetailHotGoodsItem() {
        super(null);
    }


    @Bindable
    public String getHotGoodsPicUrl() {
        return hotGoodsPicUrl == null ? "" : hotGoodsPicUrl;
    }

    public void setHotGoodsPicUrl(String hotGoodsPicUrl) {
        this.hotGoodsPicUrl = hotGoodsPicUrl;
        notifyPropertyChanged(BR.hotGoodsPicUrl);
    }

    @Override
    public int getLayout() {
        return R.layout.info_shop_hot_goods;
    }
}
